package com.bitmain.mmst.web.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.bitmain.mmst.domain.MineHashrateOverview;
import com.bitmain.mmst.domain.MinerDetectDetail;
import com.bitmain.mmst.domain.ShelfHashrateOverview;

/**
 * 
 *
 * @author Richard - rui.wu@bitmain.com
 * @since 2016年8月9日 
 *
 */
@Repository("statisticDao")
public interface StatisticDao {

	public List<MinerDetectDetail> selectDetectDetails(Map<String, Object> params);

	public void insertShelfHashrateOverview(ShelfHashrateOverview shelfOverview);

	public int countShelfHashrateOverviewTable(Map<String, Object> params);

	public void createShelfHashrateOverviewTable(Map<String, Object> params);

	public void insertMineHashrateOverview(MineHashrateOverview mineOverview);
}
